
# Be sure to run `pod lib lint UtilsFundation.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'UtilsFundation'
  s.version          = '1.1.0'
  s.summary          = '基础工具组件库'

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/zjbang/'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'zhoujianbang' => 'zhoujianbang@meicai.cn' }
  s.source           = { :git => 'https://gitee.com/zjbang/UtilFoundation.git', :tag => s.version.to_s }

  s.ios.deployment_target = '8.0'

  s.subspec 'IconFont' do |a|
    a.source_files = 'UtilsFundation/Classes/IconFont/*.{h,m}'
  end
  
  s.subspec 'CallCenter' do |a|
    a.source_files = 'UtilsFundation/Classes/CallCenter/*.{h,m}'
  end
  
  s.subspec 'TipView' do |a|
    a.source_files = 'UtilsFundation/Classes/TipView/*.{h,m}'
  end
  
  s.subspec 'KeyChainTool' do |a|
    a.source_files = 'UtilsFundation/Classes/KeyChainTool/*.{h,m}'
    a.requires_arc = false
  end
  
  s.subspec 'UpdateTool' do |a|
    a.source_files = 'UtilsFundation/Classes/UpdateTool/*.{h,m}'
  end
  

  s.dependency "MCFoundation"
  s.dependency "Masonry"
  s.dependency "AFNetworking"
  s.dependency "SSZipArchive"

  # s.resource_bundles = {
  #   'UtilsFundation' => ['UtilsFundation/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
end
